<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>GidaBase 敏捷开发管理系统-太阳软件</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link href="https://cdn.staticfile.org/ladda-bootstrap/0.9.4/ladda-themeless.min.css" rel="stylesheet">
  <link rel="stylesheet" href="/static/admin/css/bootstrap.min.css">
  <link rel="stylesheet" href="/static/admin/css/AdminLTE.min.css">
  <style>
    .layui-layer-content{overflow:hidden !important;}
  </style>
</head>
<body class="hold-transition login-page" style="height:auto;">

<div class="login-box">
  <div class="login-logo">
    <a href="#"><b>Gida</b>Base 敏捷开发</a>
  </div><!-- /.login-logo -->
  <div class="box box-primary">
    <div class="box-header">
      <h3 class="box-title">欢迎登陆</h3>
    </div><!-- /.box-header -->
    <!-- form start -->
    <form action="{:url('runlogin')}" class="ajaxForm3" method="post">
      <div class="box-body">
        <div class="form-group">
          <label for="loginName">账号</label>
          <input type="text" name="admin_username" class="form-control" id="loginName" placeholder="用户名" value="admin">
        </div>
        <div class="form-group">
          <label for="loginPWD">密码</label>
          <input type="password" name="admin_pwd" class="form-control" id="loginPWD" placeholder="密码" value="123456">
        </div>
        <!--
        <div class="checkbox">
          <label>
            <input type="checkbox"> 保持登陆
          </label>
        </div>
        -->
      </div><!-- /.box-body -->

      <div class="box-footer">
        <button type="submit" class="btn btn-primary btn-block btn-flat ladda-button" data-style="expand-left" data-plugin="ladda">
          <span class="ladda-label"><i class="icon wb-arrow-expand" aria-hidden="true"></i>登录</span>
        </button>
        <br>
         © {:date('Y')} 太阳软件 GidaSoft Inc.
      </div>
    </form>

  </div>
  <!-- /.login-box-body -->

</div>
<script id="tpl_project_list" type="text/html">
  <div class="box">
    <div class="box-body">
      <div class="form-group">
        <label class="col-sm-2 control-label">项目</label>
        <div class="col-sm-10">
          <select id="project_id" class="form-control">
            {{#  layui.each(d.list, function(index, item){ }}
            <option value="{{ item.id }}">{{ item.name }}</option>
            {{#  }); }}
            </select>
          </div>
        </div>
      </div>
    <div class="box-footer">
      <div class="row">
        <div class="col-xs-2"></div>
        <div class="col-xs-10">
          <button type="submit" class="btn btn-info ladda-button" data-style="expand-left" data-plugin="ladda" onclick="loginProduct();">
            <span class="ladda-label"><i class="icon wb-arrow-expand margin-right-10" aria-hidden="true"></i>登录</span>
            <span class="ladda-spinner"></span></button>
          </div>
        </div>
      </div>
    </div>

</script>
<!-- /.login-box -->
<script src="/static/js/jquery/jquery.min.js"></script>
<script src="/static/admin/js/bootstrap.min.js"></script>
<script src="/static/layer/layer_zh-cn.js"></script>
<script src="/static/layer/layui.js"></script>
<script src="/static/layer/laytpl.js"></script>
<script src="https://cdn.staticfile.org/ladda-bootstrap/0.9.4/spin.min.js"></script>
<script src="https://cdn.staticfile.org/ladda-bootstrap/0.9.4/ladda.min.js"></script>
<script src="/static/js/jquery.form.min.js"></script>
<script src="/static/admin/js/gdbase.js"></script>
</body>
</html>
